home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pine / osdep / pw_stuff.dos < prev    next >
Text File  |  1994-06-17  |  1KB  |  44 lines

  1. /*----------------------------------------------------------------------
  2.   This collection of routines looks up the login name and password on the
  3. system. For things like PC's it's OK for these to return NULL since there
  4. is no system login. Other code will figure out who the user actually is.
  5.   ----*/
  6.  
  7. /* Don't need a gcos_name(), unused. */
  8. #ifdef notdef
  9. static char *
  10. gcos_name(gcos_field, logname)
  11. char *logname, *gcos_field;
  12. {
  13. }
  14. #endif
  15.  
  16. void
  17. get_user_info(ui)
  18.     struct user_info *ui;
  19. {
  20.     static char driveb[] = "X:\\";
  21.  
  22.     driveb[0] = '@' + _getdrive();
  23.  
  24.     ui->homedir = cpystr(driveb);
  25.     ui->login = cpystr("");
  26.     ui->fullname = cpystr("");
  27. }
  28.  
  29. /*----------------------------------------------------------------------
  30.       Look up a userid on the local system and return rfc822 address
  31.  
  32.  Args: name  -- possible login name on local system
  33.  
  34.  Result: returns NULL or pointer to malloc'd string rfc822 address.
  35.   ----*/
  36. char *
  37. local_name_lookup(name)
  38.      char *name;
  39. {
  40.     return(cpystr(""));
  41. }
  42.  
  43.  
  44.